package com.site.wisdom_construction.service.partyConstructionModule;

import com.site.wisdom_construction.dao.partyConstructionModule.PartyConstructionActivityDao;
import com.site.wisdom_construction.entity.partyConstructionModule.PartyConstructionActivity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/21
 * @Description
 */
@Service
public class PartyConstructionActivityService implements PartyConstructionActivityDao {
    @Autowired
    private PartyConstructionActivityDao partyConstructionActivityDao;

    @Override
    public int insertPartyConstructionActivity(Map map) {
        return partyConstructionActivityDao.insertPartyConstructionActivity(map);
    }

    @Override
    public int deletePartyConstructionActivity(Map map) {
        return partyConstructionActivityDao.deletePartyConstructionActivity(map);
    }

    @Override
    public int updatePartyConstructionActivity(Map map) {
        return partyConstructionActivityDao.updatePartyConstructionActivity(map);
    }

    @Override
    public List<PartyConstructionActivity> findPartyConstructionActivityByPage(Map map) {
        return partyConstructionActivityDao.findPartyConstructionActivityByPage(map);
    }

    @Override
    public long Total(Map map) {
        return partyConstructionActivityDao.Total(map);
    }

    @Override
    public List<PartyConstructionActivity> selectPartyConstructionActivity(Map map) {
        return partyConstructionActivityDao.selectPartyConstructionActivity(map);
    }
}
